home *** CD-ROM | disk | FTP | other *** search
/ Amiga Repair Kit / Amiga Repair Kit.iso / UpperDiskTools / Docs / UDT.txt < prev    next >
Encoding:
Text File  |  1996-07-24  |  64.8 KB  |  1,849 lines

  1.                              Upper Disk Tools
  2.  
  3.                              for the AMIGA(tm)
  4.  
  5.                           Copyright © 1992, 1993
  6.  
  7.                              Upper Design(tm)
  8.  
  9.                                 User Guide
  10.  
  11.                                 Written by
  12.  
  13.                                Manuel Lemos
  14.  
  15.  
  16. Copyright
  17.  
  18. Copyright © 1992, 1993 by Upper DesignTM.  All rights reserved.  Printed in
  19. the United Kingdom.  No part of this publication may be translated,
  20. reproduced, stored in a retrieval system.  or transmitted, in any form or
  21. by any means, electronic, mechanical, photocopying, or otherwise, without
  22. the prior written permission of the publisher, Upper DesignTM.
  23.  
  24. Disclaimer
  25.  
  26. This product is offered for sale as is with no representation of fitness
  27. for any particular purpose.  No Warranty of any kind is either expressed or
  28. implied.  The user assumes all risks and responsibilities related to its
  29. use.  The material within is believed to be accurate, but the author and
  30. Upper DesignTM reserve the right to make changes to the software or
  31. documentation without notice.
  32.  
  33.  
  34. Trademarks
  35.  
  36. Upper Disk Tools(tm), Recovery(tm) , DSBackup(tm), Upper Design(tm) are
  37. trademarks of Manuel Lemos in Portugal and in other countries.
  38.  
  39. AMIGA(tm),AmigaDOS and the Amiga logo are trademarks of Commodore-Amiga,
  40. Inc.  in United States of America and in other countries.
  41.  
  42. MS-DOS is a registered trademark of Microsoft Corporation.
  43.  
  44. Macintosh is a registered trademark of Apple Computers.
  45.  
  46.  
  47. Notice
  48.  
  49. All the programs and documentation included in this package were developed
  50. using only AMIGA(tm) computers and AMIGA(tm) specific software.
  51.  
  52.  
  53. Acknowledgements
  54.  
  55. Upper Design wishes to thank to all of those that volunteered to help
  56. making this project possible.  Upper Design wishes to thank in particular
  57. to Paul Hammant for his continued support and mostly for being the mentor
  58. of this project.
  59.  
  60. Special thanks to Michael Sinz, Carolyn Schepner, Randel Jesup, James
  61. Cooper, Douglas Walker, Nico François and Stefan Becker.
  62.  
  63. Thanks to Sérgio Soares for having drawn the icon images for the programs.
  64.  
  65. Also thanks to all those that helped in the localization of this package's
  66. programs:
  67.  
  68. Deutsch
  69.  
  70. Peter Simons (simons@peti.GUN.de)
  71. Thomas Ganter (ganterth@mathematik.tu-muenchen.de)
  72. Daniel Amor (amor@student.uni-tuebingen.de)
  73.  
  74. Français
  75. Cedric Beust
  76.  
  77. Nederlands
  78. Paul Kolenbrander (boinger@myamy.hacktic.nl)
  79.  
  80. Slovenski
  81. Jure Vrhovnik (Jure.Vrhovnik@ijs.si)
  82.  
  83. Dansk
  84. Mark Cassidy
  85.  
  86. Norsk
  87. Eyvind Bernhardsen (eyvind@lise.unit.no)
  88.  
  89. Svenska
  90. Erik Bergersjoe (d9erikb@dtek.chalmers.se) 
  91.  
  92.  
  93. And others translators that will help with localization to others languages
  94. not yet available by the time this manual is being printed.
  95.  
  96. Special fonts design and localization coordination done by:
  97. Daniel Amor
  98. Brain Storm Development
  99. Ludwigstr. 124
  100. 70197 Stuttgart
  101. Germany
  102.  
  103.  
  104. Installation
  105.  
  106. It is recommend that the first thing that should be done before installing
  107. any Upper Disk Tools applications, is to make a backup copy of this
  108. package's floppy disk.  Despite this is not a mandatory procedure, the
  109. backup copy should taken to be used as the working copy.
  110.  
  111. To make a backup copy of the Upper Disk Tools floppy disk, just use from
  112. the Shell the AmigaDOS DiskCopy command.
  113.  
  114. DiskCopy FROM DF0: to DF0:
  115.  
  116. Consultation of the Amiga's manuals for usage of the shell command DiskCopy
  117. would be essential reading to understand better how to take a backup copy
  118. of a floppy disk.
  119.  
  120. Although every Upper Disk Tools applications can be started directly from
  121. the working copy floppy disk, an Installer script is provided to let the
  122. applications be installed in an hard disk.
  123.  
  124. To install the Upper Disk Tools applications in an hard disk, from the
  125. WorkBench, open a drawer named Install in the working copy of Upper Disk
  126. Tools floppy disk.  In that drawer there several icons named after several
  127. language names.  To start the installation process, just double-click any
  128. of those icons according to your preferred language.
  129.  
  130. You will be prompted to reply to several questions about the way you want
  131. the Upper Disk Tools applications to be installed.  If the language of the
  132. selected icon to start the instalation process is already supported by
  133. Upper Disk Tools instalation script, the questions you have to reply during
  134. installation process will appear in that language.
  135.  
  136. If you want to un-install Upper Disk Tools applications later after
  137. installed, you only need to delete a directory named UDT that is created
  138. during the installation process.
  139.  
  140.  
  141. Contents
  142.  
  143. Recovery
  144.  
  145.     1    Introduction
  146.     2    Quick start
  147.     4    Usage
  148.     5    The user interface window
  149.     5    Disk scanning related buttons
  150.     5    Search for files tick boxes
  151.     5    Search pattern text input box
  152.     6    Search method cycle button
  153.     6    Skip read errors tick box
  154.     6    Before scanning a disk... cycle button
  155.     6    Scanned drives list view
  156.     7    Free drive button
  157.     7    Buffers number input box
  158.     7    Other buttons and menus
  159.     7    Save button or menu item
  160.     7    Hide button or menu item
  161.     8    Help button and menu item
  162.     8    Quit button or menu item
  163.     8    About menu item
  164.     9    Provide icons menu item
  165.     9    Low memory setup menu item
  166.     10    Scanning a disk
  167.     11    Search for files
  168.     11    Search for NOT_DELETED_FILES
  169.     12    Search for DELETED_FILES
  170.     12    Search for LOST_FILES
  171.     12    Search for HEADERLESS_FILES
  172.     13    Scanning SEARCH_PATTERN
  173.     13    Search method
  174.     13    Fast search method
  175.     14    Deep search method
  176.     15    LOCK_DRIVE
  177.     15    Make the disk unavailable for system use
  178.     15    Make the disk act as write protected
  179.     17    SKIP_ERRORS while scanning a disk
  180.     18    Device options
  181.     18    DEVICE_NAME option
  182.     18    VOLUME_NAME option
  183.     19    BUFFERS option
  184.     21    Commodity options
  185.     21    CX_POPUP -  Commodity pop-up option
  186.     21    CX_POPKEY - Commodity pop-up key
  187.     22    CX_PRIORITY - Commodity priority
  188.     24    System options
  189.     24    Locale LANGUAGE
  190.     24    PUBSCREEN - Public screen
  191.     25    TOOLPRI - Tool task priority
  192.     26    Outstanding features
  193.     31    Trouble shooting
  194.     32    In case of low memory...
  195.     32    Freeing a scanned drive
  196.     33    Device In Use
  197.     34    Technical notes
  198.     34    Workbench support
  199.     34    Multi language support
  200.     35    On-line help support
  201.     36    Memory usage
  202.     36    Scannable disk types
  203.     38    Device level reading errors
  204.     40    Concepts
  205.  
  206. DSBackup
  207.  
  208.     46    Introduction
  209.     37    Usage
  210.     48    Options
  211.  
  212.  
  213. Introduction
  214.  
  215. Recovery is a tool that enables the user to retrieve files that have been
  216. deleted from a disk, or for some reason are unreadable through normal
  217. AmigaDOS usage.
  218.  
  219. After analysing a disk, it determines what can be recovered and lets the
  220. user access the files on the disk and save them to another volume.
  221.  
  222. The files that Recovery can retrieve, are accessed through an AmigaDOS
  223. virtual device called REC:  (volume name Recovery:).  This can be accessed
  224. through the Workbench, from the Shell or from any tool capable of reading
  225. disk based files.
  226.  
  227. Recovery is completely safe to use as no data on the volume in question
  228. will be modified during its use.  That means that neither Recovery nor any
  229. other application using the drive will be allowed to modify data through
  230. the use of the REC:  device.  If the disk was damaged before, it won't be
  231. any worse after using Recovery.
  232.  
  233.  
  234.  
  235. Quick start
  236.  
  237. Start Recovery either through the AmigaDOS Shell or from Workbench.
  238.  
  239. Use the Shell, Workbench or your favourite directory utility program to
  240. browse the directory structure of REC:  device (Recovery:  volume).
  241. Storage devices that are scanable by Recovery appear as directories inside
  242. the REC:Drives directory.
  243.  
  244. If you are using the Shell, it is recommended that you use the AmigaDOS Run
  245. command to start Recovery as a background program.  This allows you to
  246. analyse the REC:  device from the same Shell window right after Recovery is
  247. launched.
  248.  
  249. Examining one of the drive sub-directories within REC:Drives directory for
  250. the first time, will start Recovery scanning process for the disk in the
  251. drive with that name.
  252.  
  253. While this is happening a small window will open showing the progress of
  254. the scanning procedure.  It also shows an estimate of the time remaining
  255. for its completion.
  256.  
  257. Once scanned, files within that disk that were accessible normally through
  258. AmigaDOS usage, are listed within a directory named Files_in_disk.  Deleted
  259. files may be found in either Deleted_files or Lost_files directories.
  260.  
  261. Lost files are all of those deleted files for which it was not possible to
  262. find their respective parent directory.  If Recovery finds any files for
  263. which it was not possible to find their file header block, they will appear
  264. in Headerless_Files directory.
  265.  
  266. From this stage, you can do anything with the files that does not involve
  267. writing data to the actual scanned volume.  So, you can read, copy, execute
  268. or even archive them and perhaps using a backup program to take a backup of
  269. any files.
  270.  
  271. When you have finnished all data recovery from the scanned disk, the
  272. respective drive can be freed for normal system usage.  This will also
  273. release all the other resources allocated during the disk scanning process.
  274.  
  275. See Scanning a disk and Trouble shooting - Freeing a scanned drive
  276. sections.
  277.  
  278.  
  279.  
  280. Usage
  281.  
  282. Recovery can be started from either the Amiga Shell or the Workbench.
  283. Whichever way it is started, it can be customised by using certain options.
  284.  
  285. When started from the Amiga's Command Shell, these options are listed after
  286. name of the program, as in this example:
  287.  
  288. Run Recovery DEVICE=REK VOLUME=REKOVER
  289.  
  290. When started from the Workbench the options are retrieved by Recovery from
  291. its icon.  Use Information item from Workbench's Icons menu after having
  292. selected Recovery's Icon.  The options are maintained in the list of Tool
  293. Types in the Information window.
  294.  
  295. Whether Recovery is used from the Shell or the Workbench, its options have
  296. the same name and achieve the same effect.  Note that all options names
  297. must be of the form OPTION NAME=OPTION VALUE.
  298.  
  299. Although all options names are long and explicit, they also have shorter
  300. alias to save on finger wear and tear.  The example above showed how
  301. Recovery will set the device name (see later) to REK when started.  The
  302. short name for device is DEV, so DEV=REK would also have achieved the same
  303. thing.
  304.  
  305. Some of the options can be controlled, to a limited degree, while Recovery
  306. is running.  Recovery opens a user interface window and there are various
  307. buttons and gadgets to allow the control of the options.  If Recovery was
  308. started from the Workbench, these options can be saved to Recovery's icon.
  309.  
  310. Recovery will use defaults if there are any options missing when it is
  311. started.  Most of the time Recovery's options will not need to be changed
  312. from the default, so they don't have to be specified.
  313.  
  314.  
  315.  
  316. The user interface window 
  317.  
  318. Most of Recovery's options may be set in the user interface window.  Other
  319. actions may also be started from this window.
  320.  
  321.  
  322. Disk scanning related buttons
  323.  
  324. For more detailed information about the options related with these buttons,
  325. see Scanning a disk section.
  326.  
  327.  
  328. Search for files tick boxes
  329.  
  330. These tick boxes that indicate whether Recovery will search for the
  331. indicated respective type files.
  332.  
  333. See Scanning a disk - NOT_DELETED_FILES, DELETED_FILES, LOST_FILES,
  334. HEADERLESS_FILES options section.
  335.  
  336.  
  337. Search pattern text input box
  338.  
  339. This is a box where text should be entered to specify an AmigaDOS file
  340. pattern.  Recovery will compare all files it finds with that pattern as it
  341. scans a volume.  Only files that match that pattern available for
  342. retrieval.  If the pattern is blank, then all files will be eligible for
  343. retrieval.  The pattern cannot exceed 256 characters in length.
  344.  
  345. See SEARCH_PATTERN option section.
  346.  
  347.  
  348. Search method cycle button
  349.  
  350. This button indicates which one of two possible methods Recovery should use
  351. to scan a disk.  It can be either a fast search method or a deep search
  352. method.  The deep search method usually takes more memory and time to
  353. complete.
  354.  
  355. See FAST_SEARCH option section.
  356.  
  357.  
  358. Skip read errors tick box
  359.  
  360. This tick box indicates whether Recovery will automatically skip over
  361. damaged disk blocks during the scanning process.  If the scanned volume has
  362. many damaged blocks, it is probably best to set this option.
  363.  
  364. See SKIP_ERRORS option section.
  365.  
  366.  
  367. Before scanning a disk... cycle button
  368.  
  369. This cycle button determines the availability of the device being scanned
  370. to other applications.  Basically it will prevent that the contents of the
  371. disk may be changed during the scanning process.  It can either make the
  372. disk act as write protected or make it unavailable for system use.
  373.  
  374. See Scanning a disk - LOCK_DRIVE option section.
  375.  
  376.  
  377. Scanned drives list view
  378.  
  379. This list displays all the drives that Recovery currently has analised.
  380. Selecting one of these drives and clicking on the Free drive button, will
  381. cause that drive to be freed.
  382.  
  383.  
  384. Free drive button
  385.  
  386. This button is used to free any drive selected in the Scanned drivcs list
  387. view.  If none is selected, this button will appear disabled.
  388.  
  389. See Trouble shooting -Freeing a scanned drive sections.
  390.  
  391.  
  392. Buffers number input box
  393.  
  394. This box indicates the maximum amount of blocks that Recovery will buffer
  395. in memory at the same time to store the most read disk blocks.  This value
  396. affects the performance of Recovery while scanning a disk as well as while
  397. retrieving files from the scanned disk.
  398.  
  399. See BUFFERS option section.
  400.  
  401.  
  402. Other buttons and menus
  403.  
  404.  
  405. Save button or menu item
  406.  
  407. Use this button or menu item to tell Recovery to save the current option
  408. settings.  The options are saved in Recovery's Workbench icon as tooltypes.
  409. Because of this, if Recovery was not started from Workbench, this option
  410. will appear disabled.  The next time Recovery is started from Workbench
  411. these options will be used automatically.
  412.  
  413.  
  414. Hide button or menu item
  415.  
  416. This button or menu item option closes the Recovery's user interface window
  417. without quitting the program.  Hitting the close window button or the
  418. Escape key (Esc) also causes Recovery to hide its user interface window.
  419.  
  420. The user interface window can be recalled by activating the hotkey or
  421. instructing Recovery to show its interface using the Amiga's Commodity
  422. Exchange program.
  423.  
  424. See Commodity - hot-key section.
  425.  
  426.  
  427. Help button and menu item
  428.  
  429. Use this button or menu option to ask for help.  You can also obtain
  430. specific help about the function of most of the user interfaces's window
  431. buttons and menu items, by pressing the Help key and leaving the mouse
  432. pointer over the button or menu item about which help is being asked.
  433.  
  434. See Technical notes - On-line help support.
  435.  
  436.  
  437. Quit button or menu item
  438.  
  439. Recovery can be instructed to quit by either using the quit button or menu
  440. item.  If Recovery was started from the Shell, it can also be told to quit
  441. by issuing a Break AmigaDOS command to its Shell process.
  442.  
  443. When Recovery is instructed to quit, it first tries to free all scanned
  444. drives.  It then tries to remove the REC:  device from the system and
  445. closes user interface window (if opened).
  446.  
  447. Recovery sometimes may not exit when requested due to some directories
  448. still being locked by other applications.
  449.  
  450. See Trouble shooting - Device in Use and Freeing a scanned drive sections.
  451.  
  452.  
  453. About menu item
  454.  
  455. Use this menu item to tell Recovery to display a window requester that
  456. shows both the current version and the revision of the program, as well as
  457. showing copyright and author information.
  458.  
  459.  
  460. Provide icons menu item
  461.  
  462. This menu option, causes Recovery to provide icon files for all Workbench
  463. drawers that appear without one in the REC:  device.
  464.  
  465. See Technical notes - Workbench support section.
  466.  
  467.  
  468. Low memory setup menu item
  469.  
  470. This menu option, causes Recovery to turn off some of its own options so
  471. that extra memory can be conserved during the scanning process.
  472.  
  473. It switches off the scanning of not deleted and headerless files as well
  474. reducing the amount of disk block buffers to a minimum.  It also tries to
  475. free all scanned drives that are not currently in use.
  476.  
  477. Holding any shift key while selecting this menu option, will switch these
  478. options on again.
  479.  
  480. Setting these options to make Recovery use as less memory as possible,
  481. usually severely affects disk scanning performance.  But it improves the
  482. chances of Recovery being able to succesfully scan a disk in computers
  483. short of available memory.
  484.  
  485. See Scanning a disk...  and Trouble shooting - Freeing a scanned drive
  486. sections.
  487.  
  488.  
  489. Scanning a disk
  490.  
  491. The scanning process is the process by which Recovery analyses a drive for
  492. files.  It is triggered by scanning one of the directories named after the
  493. device name of the drive that is meant to be scanned, that is in the
  494. directory REC:Drives.
  495.  
  496. You can use any kind of directory tool to do this, including the WorkBench
  497. or the the Amiga's Shell.
  498.  
  499. When started, a scanning progress requester window will appear showing a
  500. fuel gauge progress bar and a timer that shows an estimate of the amount of
  501. time remaining to the completion of the scanning process.
  502.  
  503. The scanning process can also be suspended or cancelled via the
  504. respectively named buttons on that scanning progress window.
  505.  
  506. This process can take some time and memory depending upon the amount of
  507. files and directories that are found in the volume.  It can be speeded up
  508. or use less memory by changing some of the program's options.  See Search
  509. method.
  510.  
  511. There are a few options that are directly related with the scanning
  512. process.  They can be set either in the user interface window or as
  513. Recovery arguments.
  514.  
  515.  
  516. Search for files
  517.  
  518.  
  519. Search for NOT_DELETED_FILES
  520.  
  521. This option indicates whether Recovery should look for files that have not
  522. been deleted.  They may be found together in a directory called
  523. Files_in_disk.
  524.  
  525. These files are the ones that are supposedly accessible through the normal
  526. AmigaDOS usage.  Because of that, searching for those files, may not be
  527. necessary.  It is therefore recommended that this option should be turned
  528. off to conserve memory.
  529.  
  530. When the fast search method is used, this option is ignored and its tick
  531. box will appear shaded in the user interface window, because this method
  532. won't look for not deleted files by definition.  See Search method.
  533.  
  534. Option argument name: NOT_DELETED_FILES
  535. Short name: NDEL
  536. Valid option values: yes, no
  537. Default value: yes
  538. Example: NDEL=no
  539.  
  540.  
  541. Search for DELETED_FILES
  542.  
  543. This option indicates whether Recovery should look for deleted files while
  544. scanning a drive.  They may be found together in a directory called
  545. Deleted_files.
  546.  
  547. Note that Recovery may consider a file as deleted, when because of some
  548. error, this file is not reachable through normal AmigaDOS usage.  This
  549. situation may be caused by an unreadable preceding file in the same
  550. directory or any of its parent directories.
  551.  
  552. Option argument name: DELETED_FILES
  553. Short name: DEL
  554. Valid option values: yes, no
  555. Default value: yes
  556. Example: DEL=no
  557.  
  558.  
  559. Search for LOST_FILES
  560.  
  561. This option indicates whether Recovery should look for deleted files that
  562. for some reason it couldn't find all its parent directories.  These files
  563. are found in a directory called Lost_Files.
  564.  
  565. If many of these files are found, Workbench may take a long time to sort
  566. them before they appear listed in a Workbench drawer window.
  567.  
  568. Option argument name: LOST_FILES
  569. Short name: LOST
  570. Valid option values: yes, no
  571. Default value: yes
  572. Example: LOST=no
  573.  
  574.  
  575. Search for HEADERLESS_FILES
  576.  
  577. This option indicates whether Recovery should look for files for which
  578. header blocks couldn't be found, when possible.  These files be found in a
  579. directory called Headerless_Files.
  580.  
  581. Searching of these types of files is possible only if the scanned disk was
  582. formated as an old file system disk.
  583.  
  584. Option argument name: HEADERLESS_FILES
  585. Short name: HLES
  586. Valid option values: yes, no
  587. Default value: yes
  588. Example: HLES=no
  589.  
  590.  
  591. Scanning SEARCH_PATTERN
  592.  
  593. A search pattern causes Recovery to only look for files whose names match
  594. the selected pattern.  The pattern can have wildcards in it like #?.doc
  595. meaning all files that end in doc.
  596.  
  597. The search pattern only applies to files.  Directories are never filtered.
  598. If no pattern is supplied, all scanned files will be accessible.
  599.  
  600. This option can speed up the scan slightly and facilitate easier finding of
  601. the deleted and lost files.
  602.  
  603. It can be used to split the search in several scans with the advantage of
  604. using less memory for each scan, than when no pattern was supplied.
  605.  
  606. Read about file patterns in the AmigaDOS user manual for further
  607. information.
  608.  
  609. Option argument name: SEARCH_PATTERN
  610. Short name: PAT
  611. Valid option values: any valid AmigaDOS pattern with upto 256 characters.
  612. Default value: no pattern
  613. Example: PAT=~(#?.info)
  614.  
  615.  
  616. Search method
  617.  
  618. To scan a volume, Recovery may use one of two search methods:  fast search
  619. method and the deep search method.
  620.  
  621.  
  622. Fast search method
  623.  
  624. Fast search method usually causes a faster scan of the drive but it may
  625. under some circumstances not be as complete as a deeper scan.
  626.  
  627. This method is based on the idea that if there are files on the volume that
  628. are deleted, then the disk blocks that they were using, are marked as
  629. available in the disk's bitmap.
  630.  
  631. With this information, Recovery only has to check those blocks that are
  632. available for use, to look for deleted files.  If those blocks were not
  633. reused after those files were deleted, it will be possible for Recovery to
  634. retrieve the files intact.
  635.  
  636. This method turns out to be a much faster method to search for files, but
  637. this way Recovery will not look for not-deleted files.  This is why the Not
  638. deleted button of the user interface window appears shaded when fast search
  639. is enabled.
  640.  
  641. If for some reason Recovery is not able to find a valid bitmap for the
  642. volume, the user is prompted to indicate whether the deep search method
  643. should be used or the whole process should be cancelled.
  644.  
  645.  
  646. Deep search method
  647.  
  648. When using this method, Recovery will look for files in every block of the
  649. volume being scanned.
  650.  
  651. Scanning a volume using this method, takes more time to complete and it
  652. uses more memory.  Anyway, this is the method to use when searching for
  653. files that although were not deleted, for some reason they are not
  654. accessible through normal AmigaDOS usage.
  655.  
  656. This may happen if any of the file's parent directories are either corrupt
  657. or unreadable.
  658.  
  659. Option argument name: FAST_SEARCH
  660. Short name: FAST
  661. Valid option values: yes, no
  662. Default value: yes
  663. Example: FAST=no
  664.  
  665.  
  666. LOCK_DRIVE
  667.  
  668. This option selects what Recovery will do before scanning a disk in a
  669. drive.  It can make the disk either unavailable for system use or make it
  670. act as write protected.
  671.  
  672. Recovery has to do one of these two actions, to ensure the integrity of the
  673. contents of the disk while Recovery is scanning it.  This way, any attempt
  674. to write any data on it by the system is prevented.
  675.  
  676.  
  677. Make the disk unavailable for system use
  678.  
  679. Making the disk unavailable for system use, means that no data can be read
  680. from or written to it.  Essentially the operating system thinks the media
  681. has been removed from its drive (even hard disks).
  682.  
  683. This option is meant to ensure Recovery has complete control over the
  684. volume being scanned.  Other programs won't be able to access the drive
  685. while it is being scanned.
  686.  
  687. There are no circumstances where Recovery will initiate or allow data
  688. modification of the scanned volume.  The scanned drive is always protected
  689. from update.
  690.  
  691.  
  692. Make the disk act as write protected
  693.  
  694. This option is meant to allow the drive to both be scanned by Recovery and
  695. used by any other applications.  Files can be read or executed by other
  696. programs while that disk is still on the scanned drives list.
  697.  
  698. When the scanned drive that was write protected by Recovery is freed, the
  699. disk must be physically write unprotected, to let the AmigaDOS unlock to
  700. succeed.
  701.  
  702. Read about write protection in the section in the AmigaDOS manual
  703. pertaining to the Lock command.
  704.  
  705. Note:  because of a feature of AmigaDOS's software write protection, it is
  706. necessary that the disk in the drive to be scanned is initially write
  707. enabled.
  708.  
  709. Write protect could have been achieved by moving the appropriate plastic
  710. tag on a floppy disk or using the AmigaDOS lock command on any type of
  711. disk.  Either way the system needs to believe it to be write enabled before
  712. it can be made write protected.
  713.  
  714. Note:  It is possible that other programs write data in a disk scanned by
  715. Recovery overriding these protections.  This is done by directly accessing
  716. the respective disk trackdisk like exec.library's device .
  717.  
  718. Obviously this is not the recommended behaviour for programs, but some
  719. utilities like disk formatters and copiers actually do this.  Changing the
  720. data in a disk this way while Recovery scanning it, may confuse Recovery.
  721.  
  722. Option argument name: LOCK_DRIVE
  723. Short name: LOCK
  724. Valid option values: yes, no
  725. Default value: yes
  726. Example: LOCK=no
  727.  
  728.  
  729. SKIP_ERRORS while scanning a disk
  730.  
  731. During the scanning process, device reading errors may happen because of a
  732. possibly damaged sector.  At this point, the user is prompted to retry
  733. reading that faulty sector or or skip over it.
  734.  
  735. If a disk is seriously damaged, many of these reading errors may stop the
  736. scanning process.
  737.  
  738. This option allows the user to skip all the reading errors automatically,
  739. avoiding so the error requester to pop-up.
  740.  
  741. See Technical notes - Device level reading errors section.
  742.  
  743. Option argument name: SKIP_ERRORS
  744. Short name: SERR
  745. Valid option values: yes, no
  746. Default value: yes
  747. Example: SERR=no
  748.  
  749.  
  750.  
  751. Device options
  752.  
  753. Recovery mounts an AmigaDOS device to provide access to the files it finds
  754. in a disk during the scanning process.  Some parameters of that device can
  755. be set through some of Recovery's options.
  756.  
  757.  
  758. DEVICE_NAME option
  759.  
  760. This option determines what name is to be attributed to the device mounted
  761. by Recovery.
  762.  
  763. It can be any name, but it is recommend a name with only three letters in
  764. upper case with an optional unit number to be consistent with other
  765. AmigaDOS device names and to save type work to Shell users.
  766.  
  767. Option argument name: DEVICE_NAME
  768. Short name: DEV
  769. Valid option values:  any sequence upto 30 characters except for characters
  770. :  and /.
  771. Default value: REC
  772. Example: DEV=DEL0
  773.  
  774.  
  775. VOLUME_NAME option
  776.  
  777. This option determines what name is to attributed to the volume of the
  778. device mounted by Recovery.
  779.  
  780. It can be any name, but it is recommend a name with any continuous 
  781. sequence of letters.
  782.  
  783. Option argument name: VOLUME_NAME
  784. Short name: VOL
  785. Valid option values: any sequence upto 30 characters except for characters 
  786. : and /.
  787. Default value: Recovery
  788. Example: VOL=Retrieval
  789.  
  790.  
  791. BUFFERS option
  792.  
  793. This option determines the amount of buffers AmigaDOS is to attribute to
  794. the REC:  device whilst running.  Generally speaking the more the better
  795. (up to a limit).  Note that the more buffers that a device uses the less is
  796. available in terms of free memory to the system.
  797.  
  798. The memory size allocated for each buffer is the same as the size of the
  799. disk block.  Although each disk block size may vary, it usually is 512
  800. bytes large which the byte size of a sector for many types of disks.  Since
  801. AmigaDOS 3.1 it is possible to have blocks that occupy more that one
  802. sector.
  803.  
  804. The number of buffers for Recovery can be specified either in the
  805. tooltypes, the user interface window and even by using the AmigaDOS Shell
  806. command AddBuffers.
  807.  
  808. The minimum amount of buffers is 2.  If a smaller amount is specified,
  809. Recovery will use a number of buffers equivalent to the number of disk
  810. blocks that fit into track for each disk being scanned.
  811.  
  812. The amount of buffers used is only allocated before each device is scanned.
  813. They will only be freed, when the scanned drive is freed also.
  814.  
  815. If there isn't enough memory to allocate the specified number of buffers,
  816. Recovery will try to allocate a smaller number till it finds an amount for
  817. which there is enough memory.
  818.  
  819. If you want to tell Recovery to allocate the largest possible amount of
  820. buffers in order to improve scanning performance, just specify a very large
  821. number, e.g.  1000000.
  822.  
  823. Consultation of the Amiga's manuals for usage of the shell command
  824. AddBuffers would be essential reading before changing this parameter.
  825.  
  826. Option argument name: BUFFERS
  827. Short name: BUF
  828. Valid option values: 0 or any value higher than 1.
  829. Default value: 0
  830. Example: BUF=100
  831.  
  832.  
  833. Commodity options
  834.  
  835. Commodities are programs that intercept user input.  Recovery also acts as
  836. a commodity to determine when its hot-key was pressed.  When the user
  837. presses the hot-key, Recovery's user interface window will pop-up.
  838.  
  839. Recovery works in the same way as any system commodity.  This means that it
  840. has options with standard names for commodity options.  It can also be
  841. controlled through a commodity window interface which is actually the same
  842. as the Recovery's user interface window.
  843.  
  844. These options control the way that Recovery interfaces with the Commodities
  845. part of the Amiga's operating system.
  846.  
  847.  
  848. CX_POPUP -  Commodity pop-up option
  849.  
  850. This option determines whether Recovery will show its window when started.
  851. yes will cause the window to appear and no will cause Recovery to run in
  852. hidden mode when started.
  853.  
  854. Option argument name: CX_POPUP
  855. Short name: POP
  856. Valid option values: yes, no
  857. Default value: yes
  858. Example: POP=no
  859.  
  860.  
  861. CX_POPKEY - Commodity pop-up key
  862.  
  863. This option determines which key will cause Recovery to show its commodity
  864. window interface.  This may cause the window to open if previously closed
  865. or to come to the front if previously covered by other windows or not being
  866. displayed in the current front screen.
  867.  
  868. The key is usually a combination of keys.  This can be changed if it
  869. clashes with another commodity hot-key or if a different combination of
  870. keys is preffered.
  871.  
  872. If an invalid combination is specified for the pop-up key, Recovery will
  873. revert to its default pop-up key without issuing an error message to the
  874. user.  The pop-up key that has been used by Recovery is shown in the title
  875. of the user interface window.
  876.  
  877. If for some reason you forget what was the hot-key used to pop-up the
  878. commodity window interface, you can use the Amiga system's commodity
  879. Exchange tool to signal Recovery to show its interface or simply run
  880. Recovery again.
  881.  
  882. Consultation of the Amiga's manuals will yield further insight into the
  883. usage of hot-keys.
  884.  
  885. Option argument name: CX_POPKEY
  886. Short name: KEY
  887. Valid option values: any valid combination of keys.
  888. Default value: control alt r
  889. Example: KEY=lcommand shift 0
  890.  
  891.  
  892. CX_PRIORITY - Commodity priority
  893.  
  894. Commodity programs are notified about user input by the system.  All the
  895. commodities running are notified one after another acording to an order.
  896. That order is determined by each commodity's priority value.
  897.  
  898. This options determines Recovery's own commodity prority value.
  899. Commodities with higher priorities are able to intercept input before
  900. others with lower priorities.
  901.  
  902. Commodities like Recovery filter the kind that they are meant to intercept.
  903. In Recovery's case it is its hot-key.  Commodities with lower priority will
  904. never know about same kind of input.
  905.  
  906. Consultation of the Amiga's manuals will yield further insight into the
  907. usage of priorities.
  908.  
  909. Option argument name: CX_PRIORITY
  910. Short name: CX_PRI
  911. Valid option values: any value between -127 and 128
  912. Default value: 0
  913. Example: CX_PRI=10
  914. System options
  915.  
  916. Recovery has several options to control the way it interface to the
  917. operating system.
  918.  
  919.  
  920. Locale LANGUAGE
  921.  
  922. Recovery is fully localized, and it is ready be used in any of the
  923. supported languages.  This means that the all the text that the program
  924. displays can appear in several different languages.
  925.  
  926. Use the Locale system preference editor to select the default languages.
  927. If Recovery doesn't yet support the selected language, the default built-in
  928. language will be used.
  929.  
  930. System localization support was only introduced in AmigaDOS V2.1.  This
  931. LANGUAGE option is meant only to specify the language to be used when
  932. system localization support is not available.  Otherwise this option will
  933. be ignored.
  934.  
  935. See Technical notes - Locale  LANGUAGE support.
  936.  
  937. Option argument name: LANGUAGE
  938. Short name: LANG
  939. Valid option values: any language of the currently supported
  940. Default value: no language, built-in default is used (english).
  941. Example: LANG=deutsch
  942.  
  943.  
  944. PUBSCREEN - Public screen
  945.  
  946. This option tells Recovery the name of a public screen where its windows
  947. will be opened.
  948.  
  949. If no name is supplied for this option or for some reason it was not
  950. possible to open a window in that screen or there is no screen with the
  951. suplied name, Recovery will open its windows in the default public screen
  952. which is usually the Workbench screen.
  953.  
  954. Option argument name: PUBSCREEN
  955. Short name: SCR
  956. Valid option values: any currently opened public screen name
  957. Default value: no public screen name, Workbench screen is used
  958. Example: SCR=My public screen
  959.  
  960.  
  961. TOOLPRI - Tool task priority
  962.  
  963. The task priority value is used to arbitrate in a multi-tasking system like
  964. Amiga's, which task preferencially gets to use the CPU.  This means that if
  965. a task has a certain priority, all the remaining tasks that have lower
  966. priority will have to wait till that first task ends its job or goes to
  967. sleep.
  968.  
  969. Applications usually run with priority 0.  If you set this option to an
  970. higher value, Recovery will have most of the time the CPU preference over
  971. tasks with lower priority till goes to sleep.
  972.  
  973. Saying that a task goes to sleep, means that it will be waiting for the
  974. system to send it a signal telling it that some event that it was waiting
  975. for has just happened.  This is the case when for instance, a program is
  976. waiting for the user to act upon the user interface window or some data to
  977. be read from a disk.
  978.  
  979. This options determines what priority Recovery task will run at.  It is not
  980. very important and was only provided to be consistent with other tools that
  981. have the same option.  Since the default for the priority is already 0, it
  982. is not important to change it.
  983.  
  984. Option argument name: TOOLPRI
  985. Short name: PRI
  986. Valid option values: any value between -128 and 127
  987. Default value: 0
  988. Example: PRI=20
  989.  
  990.  
  991.  
  992. Outstanding features
  993.  
  994.  
  995. Recovery never modifies the disk being scanned
  996.  
  997. Recovery is absolutely safe to use as it never alters data on the volume
  998. being scanned, nor allows any other application to modify data on the
  999. volume while Recovery is scanning it.
  1000.  
  1001. This was done to both inspire trust in the user and provide failsafe access
  1002. to a possibly damaged disk.
  1003.  
  1004. See Scanning a disk - Lock drive section.
  1005.  
  1006.  
  1007. Use your favourite file management tool
  1008.  
  1009. The main advantage of Recovery, is its ability to act as an intermediate
  1010. device, between any standard Amiga application and the actual storage
  1011. units.
  1012.  
  1013. Since this is achieved using a virtual AmigaDOS device, that provides
  1014. access to all the scanned files in a transparent way, the user can still do
  1015. any thing with those files except for write actions.  Files can be read,
  1016. copied or even executed in a transparent way, as from a normal volume.
  1017.  
  1018. This facilitates the use of the Workbench, the Shell or any kind of
  1019. directory utility, for the exploration and recovery of files.  Other
  1020. programs can co-operate in the file recovery process, e.g.  backup programs
  1021. which allow very large files to be recovered to anywhere else, very easily.
  1022.  
  1023. Using Recovery and a hard disk backup program it would be possible to
  1024. safely recover a file that is larger than any one floppy disk.  This is
  1025. possible as most backup programs will split the file over many floppies.
  1026.  
  1027. Another important consequence of this, is that it is possible (and very
  1028. easy) to recover files or even whole directory structures to another
  1029. computer in the computer's network.  Of course, both computers have to be
  1030. in the same network.
  1031.  
  1032.  
  1033. Support for the newer filesystems
  1034.  
  1035. Recovery also retrieves data from the newer versions of the filesystem like
  1036. International and Directory Cached.  This allows disks formated in any of
  1037. the newer file systems, to be read in a transparent way, even if the
  1038. version of the system on which Recovery is being run, does not support
  1039. those file systems.
  1040.  
  1041. Recovery also supports and scans disks which use multiple sectors per
  1042. block.  This feature was introduced in AmigaDOS version 3.1 (V40).
  1043.  
  1044. See Technical notes -Scannable disk types section.
  1045.  
  1046.  
  1047. Headerless files can be recovered
  1048.  
  1049. Recovery can also search for files which their headers blocks had been
  1050. wiped or are unreadable because of some error.  Headerless files can be
  1051. scanned for, if the file system used in the disk is one of the versions of
  1052. the old file system.  This includes the newer variants International and
  1053. Directory Cached.
  1054.  
  1055. See Scanning a disk - Search for headerless files section.
  1056.  
  1057.  
  1058. Scanning progress is shown
  1059.  
  1060. While a disk in a drive is being scanned, Recovery always gives the user an
  1061. idea of how much of the disk has already been scanned by means of a fuel
  1062. guage.  There is also a percentage indicator and a timer that shows an
  1063. estimate of the remaining time to the end of the scanning procedure.
  1064.  
  1065. See Scanning a disk section.
  1066.  
  1067.  
  1068. Fast search method
  1069.  
  1070. Recovery can use when possible, a fast search method that only searches for
  1071. files in a disk's free blocks, where the deleted files are most likely to
  1072. be found.
  1073.  
  1074. See Scanning a disk - Search method section.
  1075.  
  1076.  
  1077. Very low disk access overhead
  1078.  
  1079. Recovery buffers the most frequently read blocks, while both scanning a
  1080. disk or reading file data from it.  This reduces to a minimum the disk
  1081. access and preserves memory.
  1082.  
  1083. See Scanning a disk - Device options Buffers option section.
  1084.  
  1085.  
  1086. Drives being scanned can still be available for use
  1087.  
  1088. Recovery can optionally be set to not inhibit the use of a device while
  1089. scanning is in progress.  Though this still precludes writing data to that
  1090. device, reading from it can continue as if Recovery had never been started.
  1091.  
  1092. See Scanning a disk - Lock drive section.
  1093.  
  1094.  
  1095. Recovery can run under arduous memory conditions
  1096.  
  1097. Options can be set before scanning to cause Recovery to use the minimum of
  1098. available system memory.
  1099.  
  1100. If the computer has enough memory, the options can be set to make the
  1101. scanning process faster.
  1102.  
  1103. See Technical notes - Memory usage section.
  1104.  
  1105.  
  1106. On-line Help
  1107.  
  1108. Recovery provides on-line help to most of its window buttons and menus.
  1109. Help buttons, also appear in requesters where an important decision has to
  1110. be made.
  1111.  
  1112. See Technical notes - On-line help support section.
  1113.  
  1114.  
  1115. Localization
  1116.  
  1117. Recovery is fully localized even when run in system with earlier than Amiga
  1118. OS 2.1.  So it is ready be used in any country with any of the supported
  1119. languages.
  1120.  
  1121. See Technical  notes - Multi language support section.
  1122.  
  1123.  
  1124. Limitations
  1125.  
  1126. Recovery can only retrieve files from track based disks like floppies, hard
  1127. disks, etc...  but not from sequentially read storage devices like tape
  1128. streamers, nor virtual dynamic devices like the Amiga's Ram Disk.
  1129.  
  1130. Recovery doesn't try to retrieve data from corrupt portions of a disk.  If
  1131. while scanning a disk, Recovery encounters an unreadable block, a requester
  1132. will open on screen.  Via this requester the user can instruct Recovery to
  1133. skip the faulty block or abort the scan.
  1134.  
  1135. Recovery cannot retrieve deleted files when AmigaDOS has reused the space
  1136. they occupied on the disk.  If a file is accidentally deleted then Recovery
  1137. should be started without delay!
  1138.  
  1139. In disks formated with old file system, file blocks have redundant
  1140. information, that makes possible to double check if that block really
  1141. belongs to the file as well the data in that block is corrupt.  In disks
  1142. formated with fast file system, each block is completely filled with the
  1143. file data and so this redundant information is no longer available.
  1144. Because of this, it is not possible to check if a fast file system disk
  1145. block was corrupted.  This is also the reason why Recovery can't find any
  1146. headerless files in fast file system formated disks.
  1147.  
  1148. Recovery uses the available memory to store information about scanned
  1149. files.  There can be problems during the scanning process if there are too
  1150. many files and too little memory to store information in.  In this
  1151. scenario, Recovery can be set to conserve as much memory as possible.
  1152.  
  1153. See User interface window - Low memory setup section.
  1154.  
  1155.  
  1156. Recovery currently ignores any scanned file or directory link blocks, as
  1157. these are just blocks that contain reference to the real file or directory
  1158. header block that is somewhere else in the disk.
  1159.  
  1160. Recovery also doesn't try to correct a problem with Workbench, still
  1161. present in all versions upto 3.1, where it doesn't check if a directory
  1162. really exists when it finds its drawer icon file alone.
  1163.  
  1164.  
  1165.  
  1166. Trouble shooting
  1167.  
  1168. Q.  What should I do when Recovery says that the disk scanning operation
  1169.     failed with a Not enough memory available!  message?
  1170. A.  See the User interface window - Low memory setup and Technical notes -
  1171.     Memory usage sections.
  1172.  
  1173. Q.  How do I free a drive when I have finished scanning it with Recovery?
  1174. A.  See the Freeing a drive section.
  1175.  
  1176. Q.  What should I do if Recovery says that the drive I want to free is
  1177.     still being used?
  1178. A.  See the Device in use section.
  1179.  
  1180. Q.  How do I quit Recovery?
  1181. A.  See User interface window - Quit button and menu item section.
  1182.  
  1183. Q.  What should I do if I forget the hot key used to pop-up the Recovery
  1184.     commodity interface?
  1185. A.  See Usage - CX_POPKEY - Commodity pop-up key section.
  1186.  
  1187.  
  1188.  
  1189. Q.  What should I do if Recovery says that the disk in the drive is write
  1190.     protected?
  1191. A.  See Usage - LOCK_DRIVE section.
  1192.  
  1193. Q.  What should I do Recovery says that it couldn't find a valid disk type 
  1194.     identifier?
  1195. A.  See the Technical notes - Scannable disk types section.
  1196.  
  1197. Q.  What should I do if it seems there isn't any deleted files although the
  1198.     Deleted_files or Lost_files Workbench drawers still appear?
  1199.  
  1200. A.  Sometimes a file or a directory may have been deleted but its icon file
  1201.     may not exist or simply might not appear as deleted.  Make sure that
  1202.     the Workbench shows all files in the current drawer you are examining.
  1203.     See your Workbench manual.
  1204.  
  1205.  
  1206. In case of low memory...
  1207.  
  1208. If your computer runs out of memory during the scanning process, you can
  1209. gain extra memory by freeing any previously scanned drives.  See about free
  1210. drive interface function.
  1211.  
  1212. If you still encounter memory problems, you can switch off some search
  1213. options to again decrease the memory that Recovery will need.  You can do
  1214. this easily by selecting (from the user interface window options menu) the
  1215. Low memory setup menu option.  If Recovery still has problem completing a
  1216. scan due to the lack of available memory then you can always split the
  1217. retrieval of files in two or more parts, by using different search file
  1218. patterns each time the disk is scanned.
  1219.  
  1220. For instance you can set the search pattern to [a-l]#?  for the first scan
  1221. (and recover any necessary files) and for a second scan you can use the
  1222. opposite search pattern to recover any remaining files with ~([a-l]#?) as
  1223. search pattern.
  1224.  
  1225.  
  1226. Freeing a scanned drive
  1227.  
  1228. When data recovery is complete, the drive can be freed for normal system
  1229. usage by one of three possible methods:
  1230.  
  1231. - In the user interface window, select the respective drive in the Scanned
  1232.   drives list view, and then push the Free drive button.
  1233.  
  1234. - In the REC:Scanned_Drives directory, delete the file with the same name 
  1235.   of drive to be freed.
  1236.  
  1237. - Quit Recovery.
  1238.  
  1239. Recovery can only free a drive when it is no longer being used by other
  1240. applications through REC:  device.
  1241.  
  1242. Make sure if the scanned disk was software write protected by Recovery
  1243. before it was scanned, it is then physically unprotected or else the system
  1244. won't unprotect it.
  1245.  
  1246. If Recovery is being run on an Amiga running Amiga OS 3 or higher, and the
  1247. system encounters a low memory situation, Recovery will try to free all the
  1248. scanned drives that are not being used without informing the user.  Using
  1249. the low memory setup menu item, also makes Recovery to try to free all
  1250. scanned drives.
  1251.  
  1252. See Scanning a disk - Lock drive, Device in use and User Interface window -
  1253. Low memory setup sections.
  1254.  
  1255.  
  1256. Device In Use
  1257.  
  1258. Any program that has a lock on the directory created by Recovery in
  1259. REC:Drives will prevent that drive being freed.
  1260.  
  1261. The Workbench via its open windows, the Shell via its current directory, or
  1262. other programs that can list a, read from, or save to a directory will lock
  1263. the last one used.  This is sufficient to stop Recovery freeing a drive.
  1264.  
  1265. All windows pertaining to REC:Drives/xxx where xxx is the drive in question
  1266. and below must be closed.  All Shell processes must be set to have another
  1267. device or volume as their current directory or must be quit.  The same is
  1268. true of other applications.  If in doubt then quitting applications you
  1269. think are locking the drive should free all the locks on it.
  1270.  
  1271. It is possible that a faulty application may retain a lock for file or a
  1272. directory from REC:  device after it has exited or crashed.  This will
  1273. effectively prevent Recovery from quitting.
  1274.  
  1275.  
  1276.  
  1277. Technical notes
  1278.  
  1279. Workbench support
  1280.  
  1281. To support Workbench, Recovery provides icons for directories and files
  1282. that it creates in the Recovery:  volume .
  1283.  
  1284. This facility can be controlled with the option PROVIDE_ICONS.  This option
  1285. can be also set in the user interface window Options menu.
  1286.  
  1287. Recovery searches through directories for these icon files in the following
  1288. order:  PROGDIR:Icons/, ENV:sys/, ENVARC:sys/ where PROGDIR:  is the
  1289. directory path of Recovery program file.
  1290.  
  1291. Recovery tries to find icons with the names def_Disk.info for the volume
  1292. icon, def_Drawer.info for drawer icon and def_Project.info for project
  1293. icons.
  1294.  
  1295. If no icons files where found in the above directories then Recovery will
  1296. use built in icon images.
  1297.  
  1298.  
  1299. Multi language support
  1300.  
  1301. Recovery supports language localization using Amiga standard methods, in
  1302. all supported versions of Amiga operating system.
  1303.  
  1304. Although localization was only introduced in Amiga OS version 2.1,
  1305. localization is still available if Recovery is run within earlier versions
  1306. of the OS.  In this case, the user's preferred language must be specified
  1307. with the LANGUAGE option, or else the built-in default language will be
  1308. used.
  1309.  
  1310. For each of the supported languages, there is the respective catalog file
  1311. in a sub-directory in the same directory where Recovery is started.  The
  1312. path is:
  1313.  
  1314. PROGDIR:Catalogs/LANGUAGE/Recovery.catalog.
  1315.  
  1316. The LANGUAGE directory name is the same as the Recovery's LANGUAGE option
  1317. or the selected locale language system preferences.  If for instance the
  1318. LANGUAGE was set to deutsch then the corresponding catalog file must be
  1319. found in either the following paths:
  1320.  
  1321. PROGDIR:Catalogs/deutsch
  1322. LOCALE:Catalogs/deutsch
  1323.  
  1324. The installation procedure doesn't put the language catalog files in this
  1325. last path.
  1326.  
  1327. See System options - Locale language.
  1328.  
  1329.  
  1330. On-line help support
  1331.  
  1332. Recovery uses AmigaGuide hypertext system to provide context dependant
  1333. on-line help.  On-line is also localized.
  1334.  
  1335. Besides help buttons and the help menu item, it is possible to have context
  1336. dependant help by pressing the Help key with the mouse pointer over a
  1337. button, gadget or menu item in the user interface window.
  1338.  
  1339. If for some reason AmigaGuide is not available, alternative information
  1340. windows will appear instead.
  1341.  
  1342. AmigaGuide based on-line help support will only work if at least version 33
  1343. of amigaguide.library is available.  Use AmigaDOS command Version
  1344. amigaguide.library to check what if and what version of AmigaGuide is
  1345. available.
  1346.  
  1347. The normal Recovery installation procedure tries to install the AmigaGuide
  1348. if it is not currently installed.
  1349.  
  1350.  
  1351. Memory usage
  1352.  
  1353. Recovery uses an amount of available memory to store information about the
  1354. scanned files and directories on a drive.  The amount of memory used is
  1355. more or less in proportion to the size of the disk.
  1356.  
  1357. It is recommended that the user should partition the hard disk in such a
  1358. way as to ease the later use of Recovery if a file has accidentally been
  1359. deleted.
  1360.  
  1361. Although Recovery's memory usage depends mostly on the number files and
  1362. directories the user has stored in a disk, partitioning a hard disk into
  1363. smaller, more manageable, chunks will limit the number of files and
  1364. directories that can be fitted into each partition and hence speed up the
  1365. scanning process taking less memory to hold the scanned disk's directory
  1366. tree.
  1367.  
  1368. Most of the options available through the Recovery user interface window,
  1369. are meant to allow the user to limit program memory usage.  Use Low memory
  1370. setup menu option to switch off some options to minimize memory usage.
  1371.  
  1372. See User interface window - Low memory setup section.
  1373.  
  1374. If Recovery is being run in a computer with Amiga OS 3 or higher, and the
  1375. system is low in memory Recovery will try to free all the scanned drives
  1376. that are not being used.
  1377.  
  1378.  
  1379. Scannable disk types
  1380.  
  1381. Currently, Recovery is only able to scan disks which are of AmigaDOS type.
  1382. It determines that disk type by reading some special reserved sectors at
  1383. the beginning of the disk or partition being scanned.
  1384.  
  1385. The type identifier consists of 4 bytes forming a longword, that are the
  1386. first bytes of those reserved sectors.
  1387.  
  1388. An AmigaDOS disk type identifier must have the first 3 bytes with the
  1389. letters 'D', 'O' and 'S' respectively.  The last letter is used to
  1390. determine the type of the file system used in the disk.
  1391.  
  1392. In general, if the number in this fourth byte is even, the file system is
  1393. the old file system, if it's odd it is the fast file system.
  1394.  
  1395. So we have:
  1396.  
  1397. 'D', 'O', 'S', 0 - Original old file system
  1398. 'D', 'O', 'S', 1 - Original fast file system
  1399. 'D', 'O', 'S', 2 - International old file system
  1400. 'D', 'O', 'S', 3 - International fast file system
  1401. 'D', 'O', 'S', 4 - Directory cached old file system
  1402. 'D', 'O', 'S', 5 - Directory cached fast file system
  1403.  
  1404. If the first reserved sector is unreadable or the disk type identifier was
  1405. none of those shown above, a requester will appear, prompting the user to
  1406. indicate whether old file system or fast file system should be assumed as
  1407. the disk file system.
  1408.  
  1409. Both could be tried, but only one is right.  If the wrong one is chosen,
  1410. files may appear as corrupted.  In that case, the disk should be rescanned,
  1411. but the other file system should be selected when asked again.
  1412.  
  1413. If Recovery says that an unknown disk type identifier was found, it is not
  1414. very likely that the disk is an AmigaDOS disk and most probably no files
  1415. will appear.  This may still occur though, as the first disk block may have
  1416. been corrupted but not the rest of the disk.
  1417.  
  1418.  
  1419. Device level reading errors
  1420.  
  1421. Recovery uses Amiga exec.library functions to read each device to be
  1422. scanned.  It is assumed that each disk or partition's associated Exec
  1423. device behaves like the trackdisk.device.
  1424.  
  1425. All the device reading error numbers that Recovery reports, are also
  1426. assumed to mean the same as if the drive being access is like a
  1427. trackdisk.device based floppy.
  1428.  
  1429. The meaning of those errors is listed here as quoted from the programming
  1430. include files <devices/trackdisk.h> and <exec/errors.h>.
  1431.  
  1432. Name                   no.    short description
  1433.  
  1434. TDERR_NotSpecified    20    general catchall
  1435. TDERR_NoSecHdr       21    couldn't even find a sector
  1436. TDERR_BadSecPreamble    22    sector looked wrong
  1437. TDERR_BadSecID      23    ditto
  1438. TDERR_BadHdrSum     24    header had incorrect checksum
  1439. TDERR_BadSecSum     25    data had incorrect checksum
  1440. TDERR_TooFewSecs    26    couldn't find enough sectors
  1441. TDERR_BadSecHdr     27    another "sector looked wrong"
  1442. TDERR_WriteProt     28    can't write to a protected disk
  1443. TDERR_DiskChanged    29    no disk in the drive
  1444. TDERR_SeekError     30    couldn't find track 0
  1445. TDERR_NoMem         31    ran out of memory
  1446. TDERR_BadUnitNum    32    asked for a unit > NUMUNITS
  1447. TDERR_BadDriveType    33    not a drive that trackdisk groks
  1448. TDERR_DriveInUse    34    someone else allocated the drive
  1449. TDERR_PostReset     35    user hit reset; awaiting doom
  1450.  
  1451.  
  1452. Other general Exec device errors
  1453.  
  1454. Name                no.    short description
  1455. IOERR_OPENFAIL      -1    device/unit failed to open
  1456. IOERR_ABORTED       -2    request terminated early [after AbortIO()]
  1457. IOERR_NOCMD         -3    command not supported by device
  1458. IOERR_BADLENGTH     -4    not a valid length (usually IO_LENGTH)
  1459. IOERR_BADADDRESS    -5    invalid address (misaligned or bad range)
  1460. IOERR_UNITBUSY      -6    device opens ok, but requested unit is busy
  1461. IOERR_SELFTEST      -7    hardware failed self-test
  1462.  
  1463.  
  1464.  
  1465. Concepts
  1466.  
  1467.  
  1468. Volume
  1469.  
  1470. A Volume is a disk inserted into a disk device.
  1471.  
  1472. For example Extras4.0 is the name of a volume that can be inserted into a
  1473. floppy drive.
  1474.  
  1475. Another may be Ram Disk - the non-permanent simulated disk in the computers
  1476. memory.
  1477.  
  1478. A disk inserted into a disk-drive (floppy or permanently fitted hard drive)
  1479. will have a volume name as well as a device name.
  1480.  
  1481. A volume can be renamed eg Ram Disk can be renamed to Disk In Ram.
  1482.  
  1483.  
  1484. Device
  1485.  
  1486. An AmigaDOS Device is a sort of interface capable of having data written to
  1487. it or read from it.
  1488.  
  1489. For example DF0:  is the name of a device that can receive floppy disks.
  1490. It can be written to and read from.
  1491.  
  1492. Another may be RAM:  - the non-permanent simulated disk in the computers
  1493. memory.  This too has read and write capability.
  1494.  
  1495. A disk inserted into a disk-drive (floppy or permanently fitted hard drive)
  1496. will have a volume name as well as a device name.
  1497.  
  1498. Other examples of devices may be:
  1499.  
  1500. HD0: Where Workbench is held for hard disk users.
  1501. HD1: Work storage for hard disk users.
  1502. RAD: A reset proof Ram disk.
  1503. DF1: A second disk drive (if you have one).
  1504. PRT: The output only printer device.
  1505. SER: The serial port (read and write)
  1506. PAR: Read and write capable parallel device.
  1507.  
  1508. Only devices capable of storing data on a track by track basis will be able
  1509. to be scanned by Recovery.  Printer ports, parallel and serial devices
  1510. cannot be scanned.  Also, sadly, the RAM:  device cannot be scanned by
  1511. Recovery because it is dynamic in nature.  This means that it shrinks and
  1512. expands depending upon how much data is stored within it.
  1513.  
  1514. Remember that although RAD:  is a virtual device, it is also a track based
  1515. device simulated in the computer memory.  So, Recovery can still retrieve
  1516. files from RAD:  as well.
  1517.  
  1518. When this document refers to a drive it means a device capable of track
  1519. based read and write.
  1520.  
  1521.  
  1522. Drive
  1523.  
  1524. A Drive is a device capable of storing data for later recovery.  It can be
  1525. written to and read from by normal Amiga applications.
  1526.  
  1527. Recovery can only scan disks in track based devices.
  1528.  
  1529.  
  1530. Track based device
  1531.  
  1532. A track based device is usually a physical device like floppies,
  1533. hard-drives and CD-ROMs, which are capable of reading or writing data in
  1534. disks layered in tracks.  Usually, the information is divided in sectors
  1535. inside each track.
  1536.  
  1537. Due to versatility of AmigaDOS, it is possible to simulate a track based
  1538. device to store files for instance in the computer memory like the RAD:
  1539. device.  Although RAM:  is also a simulated device in the computer memory,
  1540. Recovery can't scan it to search for files, because the information stored
  1541. in RAM:  is not layered as in disk tracks.
  1542.  
  1543.  
  1544. File system
  1545.  
  1546. AmigaDOS file system is the system that AmigaDOS uses to manage information
  1547. of files and directories in a disk.
  1548.  
  1549. There are two basic types of the AmigaDOS file system:  the OldFileSystem
  1550. and the FastFileSystem.
  1551.  
  1552.  
  1553. Old File System
  1554.  
  1555. OldFileSystem (OFS) is the original Filing system used by the Amiga range 
  1556. of computers.
  1557.  
  1558.  
  1559. Fast File System
  1560.  
  1561. FastFileSystem (FFS) is the newer type of filing system that was introduced
  1562. with the release of Amiga OS 1.3.  FFS allows more data to be stored on a
  1563. given disk.  The gain in storage capacity is at the sacrifice of an
  1564. invisible form of file continuity checking.  This goes mostly un-noticed to
  1565. the user, who only sees more storage and marginally quicker file accessing.
  1566.  
  1567. The lost continuity checking of FFS means that Recovery cannot retrieve
  1568. sections of files without header blocks.  OFS has no problems with these.
  1569.  
  1570.  
  1571. Newer still File Systems
  1572.  
  1573. Since AmigaDOS 3, other options have been available for filing systems.
  1574. Although there are basically based on OFS and FFS, they are more efficient
  1575. and functional.
  1576.  
  1577. Directory cacheing is where storage is sacrificed for directory access
  1578. speed.
  1579.  
  1580. International is where file names cater better for international
  1581. characters.
  1582.  
  1583. Since the release 3.1 of AmigaDOS, it is possible to use more than one
  1584. sector per disk block.  This feature improves the performance of disk
  1585. operations within directories that have large amounts of files and
  1586. sub-directories.
  1587.  
  1588.  
  1589. Alien File Systems
  1590.  
  1591. With latter releases of the operating system, Amiga is able to read and
  1592. write disks which use different file systems than any of those referred
  1593. above.
  1594.  
  1595. Those file systems were originally used in other types of computers that
  1596. use MS-DOS or Apple's MacIntosh DOS.
  1597.  
  1598. The current version of Recovery is not yet able to retrieve any data from
  1599. disks that use those alien file systems.
  1600.  
  1601.  
  1602. Lock
  1603.  
  1604. Lock is the name that is given to a reference that AmigaDOS uses internally
  1605. to both locate a file or a directory in a volume and to protect it from
  1606. being overwritten or removed from the filing system.
  1607.  
  1608. Recovery will only exit (or allow you to free a drive) if there are no
  1609. associated locks on the drive.
  1610.  
  1611. An opened file, implicitly sets up a lock, preventing it to be deleted.
  1612. Therefore, all relevant opened files should be closed to allow Recovery to
  1613. either exit or allow a device to be freed.
  1614.  
  1615. See Trouble shooting - Freeing a drive section.
  1616.  
  1617.  
  1618. Disk bitmap
  1619.  
  1620. When files are written in a volume, its file system must have a way to
  1621. determine which of the disk's blocks are available for use.
  1622.  
  1623. This information is available in a set of special blocks in the volume that
  1624. maps the disk's free blocks.
  1625.  
  1626. Each bit of each byte of those bitmap blocks that is set to '1', means that
  1627. the respective block in the volume is free for use.  This is why that set
  1628. of blocks is named bitmap.
  1629.  
  1630. When a volume is found unvalidated, it means that the information present
  1631. in the bitmap blocks does not correspond to the real usage of the volume
  1632. blocks by the files and directories, meaning the bitmap is not valid.
  1633.  
  1634. A volume is usually found unvalidated when for some reason it was not
  1635. possible to update the bitmap blocks after a write access to the volume.
  1636. This may happen if the computer is reset or turned off during a an
  1637. incomplete write or delete operation on the volume.
  1638.  
  1639. If a volume is found unvalidated, the file system will try to validate by
  1640. rescanning the whole volume directory tree structure to find out which
  1641. blocks are in use.
  1642.  
  1643. The validation process is done automatically if the respective file system
  1644. process finds the volume unvalidated.  It may take a while depending on the
  1645. number of files and directories in the volume.
  1646.  
  1647. The validation process may fail if the disk's directory tree structure is
  1648. corrupt or unreadable.  At this time the system doesn't allow any data to
  1649. be written, updated or deleted from the unvalidated disk.
  1650.  
  1651.  
  1652. Header blocks
  1653.  
  1654. An header block is a block in the volume that the file system uses to store
  1655. attributes of files or directories.  For instance, the name, the creation
  1656. date, protection bits, file comments an the location of each sub block are
  1657. stored in the header block.  Sub blocks can be the list of data blocks for
  1658. a file or the list of header blocks for a child directory.
  1659.  
  1660. If, for some reason, a file header block is unreadable or has been
  1661. overwritten, the recovery process for files will be harder.
  1662.  
  1663. See Scanning a disk - Headerless files section.
  1664.  
  1665.  
  1666. Introduction
  1667.  
  1668. DSBackup is a tool that enables the user to backup information about the
  1669. structure of an AmigaDOS formated disk.  Once saved in another disk, this
  1670. information may be restored later.  That might be the case when because of
  1671. an accident, the disk structure information present in the disk itself, is
  1672. corrupted.
  1673.  
  1674. The disk structure information may be saved in two forms.  It can be a
  1675. mountlist file or an IFF RDB (Rigid Disk Block) file.
  1676.  
  1677. A mountlist is a text file that is used by AmigaDOS when mounting a device.
  1678. An AmigaDOS device can be for instance a disk partition.
  1679.  
  1680. A mountlist consists of several keywords with the names of each relevant
  1681. parameter of the AmigaDOS device, and the respective value to be.
  1682. Mountlists are interpreted by the AmigaDOS Mount command to make the device
  1683. being mounted available to the system.
  1684.  
  1685. An IFF RDB file is a custom IFF file that stores all the information
  1686. contained in a disk's Rigid Disk Block.  A Rigid Disk Block is a block of
  1687. information stored in the begining of a disk that can be partitioned.
  1688.  
  1689. When the computer boots, the disk's auto-boot driver tries to read the
  1690. Rigid Disk Block information from the disk.  If that information is found
  1691. and is valid (not corrupted), the disk's partitions are mounted and the
  1692. system can boot from one of the partitions.
  1693.  
  1694. If the Rigid Disk Block is corrupted because of some accident, booting from
  1695. the disk won't be possible and the disk data won't be accessible.  This is
  1696. the time to use DSBackup to restore a previously saved Rigid Disk Block.
  1697.  
  1698.  
  1699. Usage
  1700.  
  1701. Start DSBackup from either Workbench or Shell.  DSBackup main window opens
  1702. displaying initially a list of AmigaDOS drives.
  1703.  
  1704. Selecting one of the drives and hitting the Show button opens another
  1705. window that displays several parameters of that drive and allows the
  1706. respective mountlist to be saved to a file.
  1707.  
  1708. Switching the radio button in the main window to Device units switches the
  1709. lists to display all the phisycal device units that can hold AmigaDOS
  1710. formated disks.
  1711.  
  1712. Selecting one of the device units and hitting the Show button, if that
  1713. device unit holds a disk that has a valid Rigid Disk Block, another window
  1714. opens displaying several parameter about that Rigid Disk Block.From that
  1715. window you can save the Rigid Disk Block to an IFF RDB file or verify if a
  1716. previously saved Rigid Disk Block matches the currently present in that
  1717. device's unit.
  1718.  
  1719. From the main window you can also tell the program to restore a previously
  1720. saved Rigid Disk Block to an IFF RDB file.  Each IFF RDB file holds enough
  1721. information about the device unit from which the Rigid Disk Block was
  1722. saved.  Usually only hard-disks have Rigid Disk Blocks, but notice that
  1723. some controllers do not support the Commodore's Rigid Disk Block standard
  1724. format, and so they are not supported by DSBackup.
  1725.  
  1726. After loading the IFF RDB in memory, a small window requester opens
  1727. displaying that device's unit information read from the IFF RDB file.  That
  1728. information can be changed in that requester, if it is the case for
  1729. instance when the disk was moved to different device unit.
  1730.  
  1731. After succesfully restoring the Rigid Disk Block into the disk, the user is
  1732. prompted reboot the computer to let the system recognise the newly restored
  1733. disk's Rigid Disk Block.
  1734.  
  1735.  
  1736. Options
  1737.  
  1738. DSBackup has several options that can be specified when being started.
  1739. When started from the Amiga's Command Shell, these options are listed after
  1740. name of the program, as in this example:
  1741.  
  1742. DSBackup CREATE_ICONS=no TOOLPRI=5
  1743.  
  1744. When started from the Workbench the options are retrieved by DSBackup from
  1745. its icon.  Use Information item from Workbench's Icons menu after having
  1746. selected DSBackup's Icon.  The options are maintained in the list of Tool
  1747. Types in the Information window.
  1748.  
  1749. Whether DSBackup is used from the Shell or the Workbench, its options have
  1750. the same name and achieve the same effect.  Note that all options names
  1751. must be of the form OPTION NAME=OPTION VALUE.
  1752.  
  1753. Although all options names are long and explicit, they also have shorter
  1754. alias to save on finger wear and tear.  The example above showed how to set
  1755. DSBackup to not create icons for files it saves and sets priority of its
  1756. task to 5.  The short name for CREATE_ICONS is ICONS, so ICONS=no would
  1757. also have achieved the same thing.
  1758.  
  1759. DSBackup will use defaults if there are any options missing when it is
  1760. started.  Most of the time DSBackup's options will not need to be changed
  1761. from the default, so they don't have to be specified.
  1762.  
  1763.  
  1764. Locale LANGUAGE
  1765.  
  1766. DSBackup is fully localized, and it is ready be used in any of the
  1767. supported languages.  This means that the all the text that the program
  1768. displays can appear in several different languages.
  1769.  
  1770. Use the Locale system preference editor to select the default languages.
  1771. If DSBackup doesn't yet support the selected language, the default built-in
  1772. language will be used.
  1773.  
  1774. System localization support was only introduced in AmigaDOS V2.1.  This
  1775. LANGUAGE option is meant only to specify the language to be used when
  1776. system localization support is not available.  Otherwise this option will
  1777. be ignored.
  1778.  
  1779. Option argument name: LANGUAGE
  1780. Short name: LANG
  1781. Valid option values: any language of the currently supported
  1782. Default value: no language, built-in default is used (english).
  1783. Example: LANG=deutsch
  1784.  
  1785.  
  1786. PUBSCREEN - Public screen
  1787.  
  1788. This option tells DSBackup the name of a public screen where its windows
  1789. will be opened.
  1790.  
  1791. If no name is supplied for this option or for some reason it was not
  1792. possible to open a window in that screen or there is no screen with the
  1793. suplied name, DSBackup will open its windows in the default public screen
  1794. which is usually the Workbench screen.
  1795.  
  1796. Option argument name: PUBSCREEN
  1797. Short name: SCR
  1798. Valid option values: any currently opened public screen name
  1799. Default value: no public screen name, Workbench screen is used
  1800. Example: SCR=My public screen
  1801. TOOLPRI - Tool task priority
  1802.  
  1803. The task priority value is used to arbitrate in a multi-tasking system like
  1804. Amiga's, which task preferencially gets to use the CPU.  This means that if
  1805. a task has a certain priority, all the remaining tasks that have lower
  1806. priority will have to wait till that first task ends its job or goes to
  1807. sleep.
  1808.  
  1809. Applications usually run with priority 0.  If you set this option to an
  1810. higher value, DSBackup will have most of the time the CPU preference over
  1811. tasks with lower priority till goes to sleep.
  1812.  
  1813. Saying that a task goes to sleep, means that it will be waiting for the
  1814. system to send it a signal telling it that some event that it was waiting
  1815. for has just happened.  This is the case when for instance, a program is
  1816. waiting for the user to act upon the user interface window or some data to
  1817. be read from a disk.
  1818.  
  1819. This options determines what priority DSBackup task will run at.  It is not
  1820. very important and was only provided to be consistent with other tools that
  1821. have the same option.  Since the default for the priority is already 0, it
  1822. is not important to change it.
  1823.  
  1824. Option argument name: TOOLPRI
  1825. Short name: PRI
  1826. Valid option values: any value between -128 and 127
  1827. Default value: 0
  1828. Example: PRI=20
  1829.  
  1830.  
  1831. CREATE_ICONS
  1832.  
  1833. If this option is set DSBackup will create icons for all the files being
  1834. saved.
  1835.  
  1836. The icon template file for mountlists id def_mountlist.info and for the IFF
  1837. RDB is def_RDB.info.
  1838.  
  1839. DSBackup searches through directories for these icon files in the following
  1840. order:  PROGDIR:Icons/, ENV:sys/, ENVARC:sys/ where PROGDIR:  is the
  1841. directory path of DSBackup program file.
  1842.  
  1843.  
  1844. Option argument name: CREATE_ICONS
  1845. Short name: ICONS
  1846. Valid option values: yes, no
  1847. Default value: yes
  1848. Example: ICONS=no
  1849.